Skip to content

Conversation

@WillAyd
Copy link
Contributor

@WillAyd WillAyd commented Dec 9, 2025

Rationale for this change

When referencing production abseil libraries but using a debug build type, libarrow_flight ends up referencing private symbols from the libabsl_syncrhonization library. For a reproducer in CI of the issue, see https://github.com/apache/arrow/actions/runs/20072853100/job/57579472724?pr=48418

What changes are included in this PR?

NDEBUG is defined for CI builds so that the abseil desctructor that only appears in debug builds is not present in Arrow libraries

Are these changes tested?

Yes

Are there any user-facing changes?

No - this update is strictly to the CI jobs

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@github-actions github-actions bot added the awaiting review Awaiting review label Dec 9, 2025
@WillAyd WillAyd force-pushed the debug-abseil-issue branch from 21d5eaa to 9e14a14 Compare December 9, 2025 17:37
@WillAyd WillAyd changed the title Debug abseil version issue GH-48433: [C++] Use NDEBUG to fix linkage to abseil libraries Dec 11, 2025
@github-actions
Copy link

⚠️ GitHub issue #48433 has been automatically assigned in GitHub to PR creator.

@raulcd raulcd added the CI: Extra Run extra CI label Dec 11, 2025
@raulcd
Copy link
Member

raulcd commented Dec 11, 2025

@github-actions crossbow -g cpp

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting review Awaiting review labels Dec 11, 2025
@github-actions
Copy link

No such option: -g
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/20127795278

@raulcd
Copy link
Member

raulcd commented Dec 11, 2025

@github-actions crossbow submit -g cpp

@github-actions
Copy link

Revision: ff49bc1

Submitted crossbow builds: ursacomputing/crossbow @ actions-77d4e90756

Task Status
example-cpp-minimal-build-static GitHub Actions
example-cpp-minimal-build-static-system-dependency GitHub Actions
example-cpp-tutorial GitHub Actions
test-build-cpp-fuzz GitHub Actions
test-conda-cpp GitHub Actions
test-conda-cpp-valgrind GitHub Actions
test-cuda-cpp-ubuntu-22.04-cuda-11.7.1 GitHub Actions
test-cuda-cpp-ubuntu-24.04-cuda-13.0.2 GitHub Actions
test-debian-12-cpp-amd64 GitHub Actions
test-debian-12-cpp-i386 GitHub Actions
test-fedora-42-cpp GitHub Actions
test-ubuntu-22.04-cpp GitHub Actions
test-ubuntu-22.04-cpp-20 GitHub Actions
test-ubuntu-22.04-cpp-bundled GitHub Actions
test-ubuntu-22.04-cpp-emscripten GitHub Actions
test-ubuntu-22.04-cpp-no-threading GitHub Actions
test-ubuntu-24.04-cpp GitHub Actions
test-ubuntu-24.04-cpp-bundled-offline GitHub Actions
test-ubuntu-24.04-cpp-gcc-13-bundled GitHub Actions
test-ubuntu-24.04-cpp-gcc-14 GitHub Actions
test-ubuntu-24.04-cpp-minimal-with-formats GitHub Actions
test-ubuntu-24.04-cpp-thread-sanitizer GitHub Actions

@github-actions github-actions bot added awaiting change review Awaiting change review and removed Component: C++ awaiting changes Awaiting changes labels Dec 12, 2025
@WillAyd WillAyd requested a review from lidavidm as a code owner December 17, 2025 14:45
@WillAyd
Copy link
Contributor Author

WillAyd commented Dec 17, 2025

@github-actions crossbow submit -g cpp

@github-actions
Copy link

Revision: 585cc00

Submitted crossbow builds: ursacomputing/crossbow @ actions-367649e114

Task Status
example-cpp-minimal-build-static GitHub Actions
example-cpp-minimal-build-static-system-dependency GitHub Actions
example-cpp-tutorial GitHub Actions
test-build-cpp-fuzz GitHub Actions
test-conda-cpp GitHub Actions
test-conda-cpp-valgrind GitHub Actions
test-cuda-cpp-ubuntu-22.04-cuda-11.7.1 GitHub Actions
test-cuda-cpp-ubuntu-24.04-cuda-13.0.2 GitHub Actions
test-debian-12-cpp-amd64 GitHub Actions
test-debian-12-cpp-i386 GitHub Actions
test-fedora-42-cpp GitHub Actions
test-ubuntu-22.04-cpp GitHub Actions
test-ubuntu-22.04-cpp-20 GitHub Actions
test-ubuntu-22.04-cpp-bundled GitHub Actions
test-ubuntu-22.04-cpp-emscripten GitHub Actions
test-ubuntu-22.04-cpp-no-threading GitHub Actions
test-ubuntu-24.04-cpp GitHub Actions
test-ubuntu-24.04-cpp-bundled-offline GitHub Actions
test-ubuntu-24.04-cpp-gcc-13-bundled GitHub Actions
test-ubuntu-24.04-cpp-gcc-14 GitHub Actions
test-ubuntu-24.04-cpp-minimal-with-formats GitHub Actions
test-ubuntu-24.04-cpp-thread-sanitizer GitHub Actions

@WillAyd
Copy link
Contributor Author

WillAyd commented Dec 17, 2025

@github-actions crossbow submit -g cpp

@github-actions
Copy link

Revision: 179e249

Submitted crossbow builds: ursacomputing/crossbow @ actions-37ceee83fe

Task Status
example-cpp-minimal-build-static GitHub Actions
example-cpp-minimal-build-static-system-dependency GitHub Actions
example-cpp-tutorial GitHub Actions
test-build-cpp-fuzz GitHub Actions
test-conda-cpp GitHub Actions
test-conda-cpp-valgrind GitHub Actions
test-cuda-cpp-ubuntu-22.04-cuda-11.7.1 GitHub Actions
test-cuda-cpp-ubuntu-24.04-cuda-13.0.2 GitHub Actions
test-debian-12-cpp-amd64 GitHub Actions
test-debian-12-cpp-i386 GitHub Actions
test-fedora-42-cpp GitHub Actions
test-ubuntu-22.04-cpp GitHub Actions
test-ubuntu-22.04-cpp-20 GitHub Actions
test-ubuntu-22.04-cpp-bundled GitHub Actions
test-ubuntu-22.04-cpp-emscripten GitHub Actions
test-ubuntu-22.04-cpp-no-threading GitHub Actions
test-ubuntu-24.04-cpp GitHub Actions
test-ubuntu-24.04-cpp-bundled-offline GitHub Actions
test-ubuntu-24.04-cpp-gcc-13-bundled GitHub Actions
test-ubuntu-24.04-cpp-gcc-14 GitHub Actions
test-ubuntu-24.04-cpp-minimal-with-formats GitHub Actions
test-ubuntu-24.04-cpp-thread-sanitizer GitHub Actions

@WillAyd
Copy link
Contributor Author

WillAyd commented Dec 17, 2025

I don't believe any of the current failures are related. @pitrou any interest in merging this one before your C++20 PR?

@pitrou
Copy link
Member

pitrou commented Dec 18, 2025

Can you point the PR description to the existing upstream issue(s)?

@WillAyd
Copy link
Contributor Author

WillAyd commented Dec 18, 2025

The majority of these changes were merged in via #48414, so this PR and issue are mostly obsolete.

The example code in this PR will still fail, but at this point I think its clearest for issue lineage to close this and start fresh with a dedicate issue for that

@WillAyd WillAyd closed this Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants